package com.sugon.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.List;

/**
 * @Author YuXD
 * @Version 1.0
 * @since 2022/12/30
 */
@ApiModel("现场照片参数")
@Data
public class LiveBarPhotoParam implements Serializable {

    @NotEmpty(message = "工单ID不能为空！")
    @ApiModelProperty(value = "工单ID", required = true)
    private String ticketId;

    @NotEmpty(message = "工单ID不能为空！")
    @ApiModelProperty(value = "工单类型", allowableValues = "MAINTENANCE,REPAIR,AM", required = true)
    private String ticketType;

    @ApiModelProperty(value = "分组名称")
    private String groupName;

    @ApiModelProperty(value = "照片路径列表", required = true)
    private List<String> paths;

}
